package com.migu.rbac.test;

/**
 * @Author: zhaojie
 * @CreateDate: 2019/11/8
 * @Description:
 */
public class test33232 {
    public static void main(String[] args) {

        String str = "CACHEKEY_AVAILABLETIME_LISTENER:121212121121212";

        String[] split = str.split(":");
        System.out.println(split[1]);

        if (str.startsWith("CACHEKEY_AVAILABLETIME_LISTENER")) {
            System.out.println(true);
        }
    }

    public static void tes22() throws Exception {
        try {
            ha2();
        } catch (Exception e) {
            throw e;
        } finally {
            System.out.println("释放锁");
        }
    }

    public static void ha2() throws Exception {
        System.out.println(11111);
        if (1 == 1) {
            throw new Exception("eeesfsdfsfasdfasd");
        }
    }
}
